package fib

/**
求斐波那契数列  1 1 2 3 5 8 13
*/
func Feibonacci() func() int {
	a, b := 0, 1
	return func() int {
		a, b = b, a+b
		return a
	}
}
